package com.itheima.service;

import com.github.pagehelper.PageInfo;
import com.itheima.domain.Company;

import java.util.List;


public interface CompanyService {
    /**
     * 根据当前页查询
     * @param
     * @return
     */
    PageInfo findByPage(int currentPage);

    void addCompany(Company company);

    void updateCompany(Company company);

    void deleteCompany(String id);

    List<Company> findAll();
}
